package com.direct.domian;
import java.util.HashSet;
import java.util.Set;

/**
 * 路线
 * 
 * @author Administrator
 * 
 */

public class Road {
	
	public static final Integer USABLE = 1;//可用
	public static final Integer DISABLE = 2;//不可用

	private String id;
	/**
	 * 路线名
	 */
	private String name;
	/**
	 * 描述
	 */
	private String remark;
	/**
	 * 状态 1:可用,2:不可用
	 */
	private Integer state;
	/**
	 * 路线的图片
	 */
	private String img;
	/**
	 * 路线状态变更处理记录
	 */
	private Set roadTypes = new HashSet(0);
	
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Set getRoadTypes() {
		return roadTypes;
	}
	public void setRoadTypes(Set roadTypes) {
		this.roadTypes = roadTypes;
	}
	public Road() {
	}
	public Road(String id) {
		this.id = id;
	}
	public Road(String id, String name, String remark, Integer state,
			String img, Set roadTypes) {
		this.id = id;
		this.name = name;
		this.remark = remark;
		this.state = state;
		this.img = img;
		this.roadTypes = roadTypes;
	}
	
	
}